#include <stdio.h>

int main(int argc, char const *argv[])
{
	int a[] = {-1,5,8,-9,-0,-4,45,6,7,32,345};
	int n = sizeof(a)/sizeof(a[0]);



	int max = a[0];
	int i=0;
	for (int i = 1; i < n; i++)
	{
		if (a[i] > max)
		{
			max = a[i];
		}
	}
	printf("最大值是:%d\n", max);
	return 0;
}